package com.lifp.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author lifp
 * @date 2023/10/09
 */
@Controller
public class WebSocketController {

    /**
     * 页面入口
     * @return org.springframework.web.servlet.ModelAndView
     * @author lifp
     * @date 2023/10/9
     **/
    @GetMapping("/page")
    public ModelAndView page() {
        return new ModelAndView("webSocket");
    }
}
